package com.haorui.lygyd.wxapi.entity;

import com.haorui.base.core.IdEntity;
import com.haorui.base.core.utils.DefaultField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author 郭飞
 * @version 1.0
 * @project znsm
 * @package com.haorui.jxkf.wxapi.entity
 * @createDate 2018/4/16 0016 11:30
 * @modfiyDate
 * @function
 */
@ApiModel(value = "微信银行账户")
@Entity
@Table(name = "sys_weixin_bank_account")
@Data
@EqualsAndHashCode(callSuper = false)
public class WXBankAccountEntity extends IdEntity {
    @ApiModelProperty(value = "开户行")
    private String openingBank;
    @ApiModelProperty(value = "开户行地址")
    private String openingBankAddress;
    @ApiModelProperty(value = "银行卡号")
    private String bankCard;
    @ApiModelProperty(value = "开户人姓名")
    private String openingAccountName;
    @ApiModelProperty(value = "预留手机号")
    private String phone;
    @ApiModelProperty(value = "会员ID")
    private String memberId;
    @ApiModelProperty(value = "是否是默认银行账户")
    @DefaultField
    private Boolean morenAccount=false;
}
